/**
 * 
 */
package com.orange.handler.expert;

import java.sql.SQLException;
import java.util.List;

import com.orange.modules.entity.expert.AuthExamExpertMap;

/**
 * @author gaogs
 *
 * 2016-12-1
 */
public interface AuthExamExpertMapService {
	
	/**
	 * 批量保存专家与试题关系
	 * @param list
	 */
	public void saveAuthExamExpertMapInfos(List<AuthExamExpertMap> list);
	
	/**
	 * 批量删除专家试题
	 * @param list
	 */
	public void deleteAuthExamExpertMapInfos(List<AuthExamExpertMap> list);
	
	/**
	 * 查询组内相应专业下的专家试题
	 * @param taskId
	 * @param subject
	 * @return
	 * @throws SQLException 
	 */
	public List<AuthExamExpertMap> queryAuthExamExpertMapByTaskAndSubject(String groupId ,String taskId,String subject) throws SQLException;

	
	/**
	 * 查询组内专家相应专业下试题
	 * @param taskId
	 * @param subject
	 * @return
	 * @throws SQLException 
	 */
	public List<AuthExamExpertMap> queryAuthExamExpertMapByTaskAndExpertId(String groupId ,String taskId,String expertId) throws SQLException;
	
	
	
	
	
	
	
	
	
	
	
	
	
}
